package com.xuecheng.order.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderData implements Serializable {

    @ExcelProperty("订单号")
    private String orderNo;
    @ExcelProperty("交易时间")
    private Date createDate;
    @ExcelProperty("学员id")
    private Long userId;
    @ExcelProperty("课程名称")
    private String coursePubName;
    @ExcelProperty("交易金额")
    private Long price;
    @ExcelProperty("结算金额")
    private Long money;
    @ExcelProperty("结算状态")
    private String statusWord;
    @ExcelIgnore
    private Integer status;


}
